package com.roast.services.messges;

public class AddressToStar {

    public String addressToStar(int signal) {
        if (DataBaseError.isDatabaseError(signal)) {
            return "Database ERROR![SIGNAL:" + signal + "]";
        }
        switch (signal) {
            case 10700:
                return "You have successfully address the star.";
            case 10705:
                return "You fail to address a star.";
        }
        return "Unknown error![SIGNAL:" + signal + "]";
    }
}
